package xyz.archknight.app.loginput.dictionary.gen

import com.formdev.flatlaf.FlatDarkLaf
import xyz.archknight.app.loginput.dictionary.gen.dao.DBUtils
import xyz.archknight.app.loginput.dictionary.gen.ui.CoreFrame
import javax.swing.JFrame
import javax.swing.SwingUtilities

/**
 * 词库辅助工具主应用
 *
 * @author midnite
 * create at 2020-06-14 10:51 下午
 */
private fun createUIAndShow() {
    val mainFrame: JFrame = CoreFrame("落格输入法自定义词库辅助工具")
    mainFrame.isVisible = true
}

fun main() {
    DBUtils.updateTables()
    FlatDarkLaf.install()
    SwingUtilities.invokeLater(::createUIAndShow)
}